<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>
<style type="text/css">
.dateWidth1 {
	width: 195px;
}
.select_width {
	width: 130px;
}
</style>
<input type="hidden" name="organization/whether_is_gaoxin_value" value="<x:out select="$xmlData/data/organization/whether_is_gaoxin_value" />"/>
<input type="hidden" name="organization/whether_industrial_base_value" value="<x:out select="$xmlData/data/organization/whether_industrial_base_value" />"/>
<input type="hidden" name="organization/whether_is_province_value" value="<x:out select="$xmlData/data/organization/whether_is_province_value" />"/>
<input type="hidden" name="proposal/contact_psn_tel" value="<x:out select="$xmlData/data/organization_persons/organization_person[@psn_type='lianxiren']/contact_tel"/>"/>
<input type="hidden" name="proposal/contact_psn_email" value="<x:out select="$xmlData/data/organization_persons/organization_person[@psn_type='lianxiren']/contact_email"/>"/>

<table class="t_css table01" id="table_1" width="100%" border="0" cellpadding="0" id="basicInfo" cellspacing="1">
	<col style="width: 17%" />
	<col style="width: 20%" />
	<col style="width: 12%" />
	<col style="width: 20%" />
	<col style="width: 12%" />
	<col style="width: 19%" />
	<tr>
		<td colspan="6" class="t_bar2"><span class="color_red">*</span>项目基本情況</td>
	</tr>
	<tr>
		<td align="right"> 项目名称：</td>
		<td colspan="5"><input type="text" id="zh_title" name="proposal/zh_title" label="项目名称" class="input_css required maxlength:100" 
			style="width: 604px;" maxlength="100" value="<x:out select="$xmlData/data/proposal/zh_title" />" /></td>    
	</tr>
	
	<tr>
		<td align="right"> 归口管理部门：</td>
		<td colspan="5">
		    <c:set var="recomend_org">{'id':'<x:out select="$xmlData/data/proposal/recomend_org_value" />','name':'<x:out select="$xmlData/data/proposal/recomend_org_name" />'}</c:set> 
		    <cpt:tree id="recomend_org" key="recomend_org_gk" cacheable="false" className="hn_iuput_kuang required selectWidth3" readonly="true" value="${recomend_org}" label="归口管理部门" 
		              showPattern="all" shieldPattern="0" onClick="initTreeValue2"></cpt:tree> 
		    <input type="hidden" id="recomend_org_value" name="proposal/recomend_org_value"  value="<x:out select="$xmlData/data/proposal/recomend_org_value" />" >
		    <input type="hidden" name="proposal/recomend_org_name" value="<x:out select="$xmlData/data/proposal/recomend_org_name" />">
		</td>
	</tr>
	<tr>
		<td align="right" > 申报日期：</td>
		<td colspan="5"> <c:set var="submit_date"><x:out select="$xmlData/data/proposal/submit_date" /></c:set>
			<cpt:date id="apply_date_curr"  name="proposal/submit_date" value="${submit_date}" className="required date"  label="申报日期" ></cpt:date> 
		</td>
	</tr>
	
	<tr>
		<td align="right"> 园区名称（全称）：</td>
		<td colspan="5"><input type="text" id="yuanqu_name" name="proposal/nongyekeji/yuanqu_name" label="园区名称（全称）" class="input_css required maxlength:100" 
				   style="width: 604px;" maxlength="100" value="<x:out select="$xmlData/data/proposal/nongyekeji/yuanqu_name" />" />
	    </td>
	</tr> 
	<tr>
		<td align="right"> 管理机构：</td>
	    <td><input type="text" id="guanlijigou_name" name="proposal/nongyekeji/guanlijigou_name" label="管理机构" class="input_css required maxlength:100" 
				   style="" maxlength="100" value="<x:out select="$xmlData/data/proposal/nongyekeji/guanlijigou_name" />" />
	    </td>
	    <td align="right"> 负责人：</td>
	    <td><input type="text" id="glfzr_name" name="proposal/nongyekeji/glfzr_name" label="管理机构-->负责人" class="input_css required maxlength:100" 
				   style="" maxlength="100" value="<x:out select="$xmlData/data/proposal/nongyekeji/glfzr_name" />" />
	    </td>
	    <td align="right"> 手机号：</td>
	    <td><input type="text" id="guanli_mobile" name="proposal/nongyekeji/guanli_mobile" label="管理机构-->负责人-->手机号" class="input_css mobile required maxlength:100" 
				   style="" maxlength="100" onfocus="InitInput.setNumber(this,11,0,0);" value="<x:out select="$xmlData/data/proposal/nongyekeji/guanli_mobile" />" />
	    </td>
	</tr>
	<tr>
		<td align="right"> 运行机构：</td>
	    <td><input type="text" id="yunxingjigou_name" name="proposal/nongyekeji/yunxingjigou_name" label="运行机构" class="input_css required maxlength:100" 
				   style="" maxlength="100" value="<x:out select="$xmlData/data/proposal/nongyekeji/yunxingjigou_name" />" />
	    </td>
	    <td align="right"> 负责人：</td>
	    <td><input type="text" id="yxfzr_name" name="proposal/nongyekeji/yxfzr_name" label="运行机构-->负责人" class="input_css required maxlength:100" 
				   style="" maxlength="100" value="<x:out select="$xmlData/data/proposal/nongyekeji/yxfzr_name" />" />
	    </td>
	    <td align="right"> 手机号：</td>
	    <td><input type="text" id="yunxing_mobile" name="proposal/nongyekeji/yunxing_mobile" label="运行机构-->负责人-->手机号" class="input_css mobile required maxlength:100" 
				   style="" maxlength="100" onfocus="InitInput.setNumber(this,11,0,0);" value="<x:out select="$xmlData/data/proposal/nongyekeji/yunxing_mobile" />" />
	    </td>
	</tr>
	
	<tr>
		<td align="right"> 通讯地址：</td>
	    <td><input type="text" id="address" name="proposal/nongyekeji/address" label="通讯地址" class="input_css required maxlength:100" 
				   style="" maxlength="100" value="<x:out select="$xmlData/data/proposal/nongyekeji/address" />" />
	    </td>
	    <td align="right"> 联系人：</td>
	    <td><input type="text" id="linkman_name" name="proposal/nongyekeji/linkman_name" label="联系人" class="input_css required maxlength:100" 
				   style="" maxlength="100" value="<x:out select="$xmlData/data/proposal/nongyekeji/linkman_name" />" />
	    </td>
	    <td align="right"> 手机号：</td>
	    <td><input type="text" id="phone" name="proposal/nongyekeji/phone" label="手机号" class="input_css mobile required maxlength:100" 
				   style="" maxlength="100" onfocus="InitInput.setNumber(this,11,0,0);" value="<x:out select="$xmlData/data/proposal/nongyekeji/phone" />" />
	    </td>
	</tr>
	
	<tr>
	    <td align="right">电子邮箱：</td>
	    <td><input id="mail" name="proposal/nongyekeji/mail" label="电子邮箱"  type="text" 
		    class="input_css required email maxlength:100" value="<x:out select="$xmlData/data/proposal/nongyekeji/mail" />" /></td>
	    <td align="right"> 项目申请金额<br/>（万元）：</td>
		<td colspan="3"><input id="nongyekeji" name="proposal/nongyekeji/nongyekeji" label="项目申请金额（万元）" onfocus="InitInput.setNumber(this,9,4,2);" type="text" 
		    class="input_css required maxlength:100" value="<x:out select="$xmlData/data/proposal/nongyekeji/nongyekeji" />"style="text-align: right;" /></td>	
	</tr>
	
	<tr>
		<td align="right"> 项目报审级次（省补助<br/>资金拨付所属财政局）：</td>
	    <td colspan="5">
			<c:set var="sub_step">{'id':'<x:out select="$xmlData/data/proposal/sub_step_value" />','name':'<x:out select="$xmlData/data/proposal/sub_step_name" />'}</c:set>
          	<cpt:tree key="sub_step" cacheable="false" className="hn_iuput_kuang  " readonly="true" value="${sub_step}"  label="项目报审级次" id="sub_step" onlyChooseLeaf="false" showPattern="all" shieldPattern="0" topCheckbox="true" onClick="initTreeValueExt" />
	        <input id="sub_step_value" type="hidden" name="proposal/sub_step_value" class="required" label="项目报审级次" value="<x:out select="$xmlData/data/proposal/sub_step_value" />"/>
            <input id="sub_step_name" type="hidden" name="proposal/sub_step_name"  value="<x:out select="$xmlData/data/proposal/sub_step_name" />"/>
		</td>
	</tr>
</table>

<table id="eq_table1" cellpadding="0" class="t_css" width="100%" border="0" cellpadding="0" style="*border-bottom: #a1c0dc 1px solid;">
	<col style="width: 29%" />
	<col style="width: 29%" />
	<col style="width: 14%" />
	<col style="width: 14%" />
	<col style="width: 14%" />
	<thead>
		<tr style="border: 1px solid #B7D1E6">
		    <th class="TblHead" align="center" >一级指标</th>
		    <th class="TblHead" align="center" >二级指标</th>
			<th class="TblHead" align="center" >${year-2 }年</input></th>
			<th class="TblHead" align="center" >${year-1 }年</input></th>
			<th class="TblHead" align="center" >增长（%）</th> 
		</tr>
	</thead>
    <tbody>
	    <tr>
	        <td rowspan="5">现有企业总数（个）</td>
	        <td>企业数</td>
	        <td><input name="proposal/nongyekeji/qiye_num1" label="现有企业总数（个）-->企业数-->${year-2 }年" onfocus="InitInput.setNumber(this,9,0,0);" type="text"
		               class="input_css required maxlength:100" onchange="count();" value="<x:out select="$xmlData/data/proposal/nongyekeji/qiye_num1" />" style="text-align: right;" /></td>
		               
	        <td><input name="proposal/nongyekeji/qiye_num2" label="现有企业总数（个）-->企业数-->${year-1 }年" onfocus="InitInput.setNumber(this,9,0,0);"  type="text"
		               class="input_css required maxlength:100" onchange="count();" value="<x:out select="$xmlData/data/proposal/nongyekeji/qiye_num2" />" style="text-align: right;" /></td>
		               
	        <td><input name="proposal/nongyekeji/qiye_num3" onfocus="InitInput.setNumber(this,9,4,2);"  type="text"
		               class="input_css maxlength:50 gray" disabled="disabled" value="<x:out select="$xmlData/data/proposal/nongyekeji/qiye_num3" />" style="text-align: right;" /></td>
	    </tr>
	    <tr>
	        <td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;其中：高新技术企业数</td>
	        <td><input name="proposal/nongyekeji/gaoxinjishu_num1" label="现有企业总数（个）-->其中：高新技术企业数-->${year-2 }年" onfocus="InitInput.setNumber(this,9,0,0);" type="text" 
		               class="input_css required maxlength:100" onchange="count();" value="<x:out select="$xmlData/data/proposal/nongyekeji/gaoxinjishu_num1" />"style="text-align: right;" /></td>
		               
	        <td><input name="proposal/nongyekeji/gaoxinjishu_num2" label="现有企业总数（个）-->其中：高新技术企业数-->${year-1 }年" onfocus="InitInput.setNumber(this,9,0,0);" type="text" 
		               class="input_css required maxlength:100" onchange="count();" value="<x:out select="$xmlData/data/proposal/nongyekeji/gaoxinjishu_num2" />"style="text-align: right;" /></td>
		               
	        <td><input name="proposal/nongyekeji/gaoxinjishu_num3" onfocus="InitInput.setNumber(this,9,4,2);" type="text" 
		               class="hn_iuput_kuang1 maxlength:50 gray" disabled="disabled" value="<x:out select="$xmlData/data/proposal/nongyekeji/gaoxinjishu_num3" />"style="text-align: right;" /></td>
	    </tr>
	    <tr>
	        <td>农民合作社</td>
	        <td><input name="proposal/nongyekeji/nongminhezuo_num1" label="现有企业总数（个）-->农民合作社-->${year-2 }年" onfocus="InitInput.setNumber(this,9,0,0);" type="text" 
		               class="input_css required maxlength:100" onchange="count();" value="<x:out select="$xmlData/data/proposal/nongyekeji/nongminhezuo_num1" />"style="text-align: right;" /></td>
		               
	        <td><input name="proposal/nongyekeji/nongminhezuo_num2" label="现有企业总数（个）-->农民合作社-->${year-1 }年" onfocus="InitInput.setNumber(this,9,0,0);" type="text" 
		               class="input_css required maxlength:100" onchange="count();" value="<x:out select="$xmlData/data/proposal/nongyekeji/nongminhezuo_num2" />"style="text-align: right;" /></td>
		               
	        <td><input name="proposal/nongyekeji/nongminhezuo_num3" onfocus="InitInput.setNumber(this,9,4,2);" type="text" 
		               class="input_css maxlength:100 gray" disabled="disabled" value="<x:out select="$xmlData/data/proposal/nongyekeji/nongminhezuo_num3" />"style="text-align: right;" /></td>
	    </tr>
	    <tr>
	        <td>家庭农场</td>
	        <td><input name="proposal/nongyekeji/jiatingnongcang1" label="现有企业总数（个）-->家庭农场-->${year-2 }年" onfocus="InitInput.setNumber(this,9,0,0);" type="text" 
		               class="input_css required maxlength:100" onchange="count();" value="<x:out select="$xmlData/data/proposal/nongyekeji/jiatingnongcang1" />"style="text-align: right;" /></td>
		               
	        <td><input name="proposal/nongyekeji/jiatingnongcang2" label="现有企业总数（个）-->家庭农场-->-->${year-1 }年" onfocus="InitInput.setNumber(this,9,0,0);" type="text" 
		               class="input_css required maxlength:100" onchange="count();" value="<x:out select="$xmlData/data/proposal/nongyekeji/jiatingnongcang2" />"style="text-align: right;" /></td>
		               
	        <td><input name="proposal/nongyekeji/jiatingnongcang3" onfocus="InitInput.setNumber(this,9,4,2);" type="text" 
		               class="input_css maxlength:100 gray" disabled="disabled" value="<x:out select="$xmlData/data/proposal/nongyekeji/jiatingnongcang3" />"style="text-align: right;" /></td>
	    </tr>
	    <tr>
	        <td>农业社会化服务组织</td>
	        <td><input name="proposal/nongyekeji/fuwuzuzhi1" label="现有企业总数（个）-->农业社会化服务组织-->-->${year-2 }年" onfocus="InitInput.setNumber(this,9,0,0);" type="text" 
		               class="input_css required maxlength:100" onchange="count();" value="<x:out select="$xmlData/data/proposal/nongyekeji/fuwuzuzhi1" />"style="text-align: right;" /></td>
		               
	        <td><input name="proposal/nongyekeji/fuwuzuzhi2" label="现有企业总数（个）-->农业社会化服务组织-->${year-1 }年" onfocus="InitInput.setNumber(this,9,0,0);" type="text" 
		               class="input_css required maxlength:100" onchange="count();" value="<x:out select="$xmlData/data/proposal/nongyekeji/fuwuzuzhi2" />"style="text-align: right;" /></td>
		               
	        <td><input name="proposal/nongyekeji/fuwuzuzhi3" onfocus="InitInput.setNumber(this,9,4,2);" type="text" 
		               class="input_css maxlength:100 gray" disabled="disabled" value="<x:out select="$xmlData/data/proposal/nongyekeji/fuwuzuzhi3" />"style="text-align: right;" /></td>
	    </tr>
	    <tr>
	        <td rowspan="2">研发机构平台、孵化器总数</td>
	        <td>平台总数（个）</td>
	        <td><input name="proposal/nongyekeji/yanfajigou1" label="研发机构平台、孵化器总数-->平台总数（个）-->${year-2 }年" onfocus="InitInput.setNumber(this,9,0,0);" type="text" 
		               class="input_css required maxlength:100" onchange="count();" value="<x:out select="$xmlData/data/proposal/nongyekeji/yanfajigou1" />"style="text-align: right;" /></td>
		               
	        <td><input name="proposal/nongyekeji/yanfajigou2" label="研发机构平台、孵化器总数-->平台总数（个）-->${year-1 }年" onfocus="InitInput.setNumber(this,9,0,0);" type="text" 
		               class="input_css required maxlength:100" onchange="count();" value="<x:out select="$xmlData/data/proposal/nongyekeji/yanfajigou2" />"style="text-align: right;" /></td>
		               
	        <td><input name="proposal/nongyekeji/yanfajigou3" onfocus="InitInput.setNumber(this,9,4,2);" type="text" 
		               class="input_css maxlength:100 gray" disabled="disabled" value="<x:out select="$xmlData/data/proposal/nongyekeji/yanfajigou3" />"style="text-align: right;" /></td>
	    </tr>
	    <tr>
	        <td>孵化器总面积（平米）</td>
	        <td><input name="proposal/nongyekeji/fuhuamianji1" onchange="count();" label="研发机构平台、孵化器总数-->孵化器总面积（平米）-->${year-2 }年" onfocus="InitInput.setNumber(this,9,4,2);" type="text" 
		               class="input_css required maxlength:100" value="<x:out select="$xmlData/data/proposal/nongyekeji/fuhuamianji1" />"style="text-align: right;" /></td>
		               
	        <td><input name="proposal/nongyekeji/fuhuamianji2" label="研发机构平台、孵化器总数-->孵化器总面积（平米）-->${year-1 }年" onfocus="InitInput.setNumber(this,9,4,2);" type="text" 
		               class="input_css required maxlength:100" onchange="count();" value="<x:out select="$xmlData/data/proposal/nongyekeji/fuhuamianji2" />"style="text-align: right;" /></td>
		               
	        <td><input name="proposal/nongyekeji/fuhuamianji3" onfocus="InitInput.setNumber(this,9,4,2);" type="text" 
		               class="input_css maxlength:100 gray" disabled="disabled" value="<x:out select="$xmlData/data/proposal/nongyekeji/fuhuamianji3" />"style="text-align: right;" /></td>
	    </tr>
	    
	    <tr>
	        <td rowspan="3">产学研合作及研发总数</td>
	        <td>高校科研院所入驻总数（家）</td>
	        <td><input name="proposal/nongyekeji/gaoxiao_num1" label="产学研合作及研发总数-->高校科研院所入驻总数（家）-->${year-2 }年" onfocus="InitInput.setNumber(this,9,0,0);" type="text" 
		               class="input_css required maxlength:100" onchange="count();" value="<x:out select="$xmlData/data/proposal/nongyekeji/gaoxiao_num1" />"style="text-align: right;" /></td>
		               
	        <td><input name="proposal/nongyekeji/gaoxiao_num2" label="产学研合作及研发总数-->高校科研院所入驻总数（家）-->${year-1 }年" onfocus="InitInput.setNumber(this,9,0,0);" type="text" 
		               class="input_css required maxlength:100" onchange="count();" value="<x:out select="$xmlData/data/proposal/nongyekeji/gaoxiao_num2" />"style="text-align: right;" /></td>
		               
	        <td><input name="proposal/nongyekeji/gaoxiao_num3" onfocus="InitInput.setNumber(this,9,4,2);" type="text" 
		               class="input_css maxlength:100 gray" disabled="disabled" value="<x:out select="$xmlData/data/proposal/nongyekeji/gaoxiao_num3" />"style="text-align: right;" /></td>
	    </tr>
	    <tr>
	        <td>正在实施的产学研合作项目数</td>
	        <td><input name="proposal/nongyekeji/chanxueyan_num1" label="产学研合作及研发总数-->正在实施的产学研合作项目数-->${year-2 }年" onfocus="InitInput.setNumber(this,9,0,0);" type="text" 
		               class="input_css required maxlength:100" onchange="count();" value="<x:out select="$xmlData/data/proposal/nongyekeji/chanxueyan_num1" />"style="text-align: right;" /></td>
		               
	        <td><input name="proposal/nongyekeji/chanxueyan_num2" label="产学研合作及研发总数-->正在实施的产学研合作项目数-->${year-1 }年" onfocus="InitInput.setNumber(this,9,0,0);" type="text" 
		               class="input_css required maxlength:100" onchange="count();" value="<x:out select="$xmlData/data/proposal/nongyekeji/chanxueyan_num2" />"style="text-align: right;" /></td>
		               
	        <td><input name="proposal/nongyekeji/chanxueyan_num3" onfocus="InitInput.setNumber(this,9,4,2);" type="text" 
		               class="input_css maxlength:100 gray" disabled="disabled" value="<x:out select="$xmlData/data/proposal/nongyekeji/chanxueyan_num3" />"style="text-align: right;" /></td>
	    </tr>
	    <tr>
	        <td>正在实施的市级以上科技项目数</td>
	        <td><input name="proposal/nongyekeji/kejixiangmu_num1" label="产学研合作及研发总数-->正在实施的市级以上科技项目数-->${year-2 }年" onfocus="InitInput.setNumber(this,9,0,0);" type="text" 
		               class="input_css required maxlength:100" onchange="count();" value="<x:out select="$xmlData/data/proposal/nongyekeji/kejixiangmu_num1" />"style="text-align: right;" /></td>
		               
	        <td><input name="proposal/nongyekeji/kejixiangmu_num2" label="产学研合作及研发总数-->正在实施的市级以上科技项目数-->${year-1 }年" onfocus="InitInput.setNumber(this,9,0,0);" type="text" 
		               class="input_css required maxlength:100" onchange="count();" value="<x:out select="$xmlData/data/proposal/nongyekeji/kejixiangmu_num2" />"style="text-align: right;" /></td>
		               
	        <td><input name="proposal/nongyekeji/kejixiangmu_num3" onfocus="InitInput.setNumber(this,9,4,2);" type="text" 
		               class="input_css maxlength:100 gray" disabled="disabled" value="<x:out select="$xmlData/data/proposal/nongyekeji/kejixiangmu_num3" />"style="text-align: right;" /></td>
	    </tr>
	    
	    <tr>
	        <td rowspan="2">信息化水平</td>
	        <td>物联网应用企业数</td>
	        <td><input name="proposal/nongyekeji/wulianwang_num1" label="信息化水平-->物联网应用企业数-->${year-2 }年" onfocus="InitInput.setNumber(this,9,0,0);" type="text" 
		               class="input_css required maxlength:100" onchange="count();" value="<x:out select="$xmlData/data/proposal/nongyekeji/wulianwang_num1" />"style="text-align: right;" /></td>
		               
	        <td><input name="proposal/nongyekeji/wulianwang_num2" label="信息化水平-->物联网应用企业数-->${year-1 }年" onfocus="InitInput.setNumber(this,9,0,0);" type="text" 
		               class="input_css required maxlength:100" onchange="count();" value="<x:out select="$xmlData/data/proposal/nongyekeji/wulianwang_num2" />"style="text-align: right;" /></td>
		               
	        <td><input name="proposal/nongyekeji/wulianwang_num3" onfocus="InitInput.setNumber(this,9,4,2);" type="text" 
		               class="input_css maxlength:100 gray" disabled="disabled" value="<x:out select="$xmlData/data/proposal/nongyekeji/wulianwang_num3" />"style="text-align: right;" /></td>
	    </tr>
	    <tr>
	        <td>网上销售额占园区销售总额比（万元）</td>
	        <td><input name="proposal/nongyekeji/xiaoshoue1" label="信息化水平-->网上销售额占园区销售总额比（万元）-->${year-2 }年" onfocus="InitInput.setNumber(this,9,2,2);" type="text" 
		               class="input_css required maxlength:100" onchange="count();" value="<x:out select="$xmlData/data/proposal/nongyekeji/xiaoshoue1" />"style="text-align: right;" /></td>
		               
	        <td><input name="proposal/nongyekeji/xiaoshoue2" label="信息化水平-->网上销售额占园区销售总额比（万元）-->${year-1 }年" onfocus="InitInput.setNumber(this,9,2,2);" type="text" 
		               class="input_css required maxlength:100" onchange="count();" value="<x:out select="$xmlData/data/proposal/nongyekeji/xiaoshoue2" />"style="text-align: right;" /></td>
		               
	        <td><input name="proposal/nongyekeji/xiaoshoue3" onfocus="InitInput.setNumber(this,9,4,2);" type="text" 
		               class="input_css maxlength:100 gray" disabled="disabled" value="<x:out select="$xmlData/data/proposal/nongyekeji/xiaoshoue3" />"style="text-align: right;" /></td>
	    </tr>
	    
	    <tr>
	        <td rowspan="3">科技产出</td>
	        <td>当年省级以上审定的动植物新品种数</td>
	        <td><input name="proposal/nongyekeji/dongzhiwu1" label="科技产出-->当年省级以上审定的动植物新品种数-->${year-2 }年" onfocus="InitInput.setNumber(this,9,0,0);" type="text" 
		               class="input_css required maxlength:100" onchange="count();" value="<x:out select="$xmlData/data/proposal/nongyekeji/dongzhiwu1" />"style="text-align: right;" /></td>
		               
	        <td><input name="proposal/nongyekeji/dongzhiwu2" label="科技产出-->当年省级以上审定的动植物新品种数-->${year-1 }年" onfocus="InitInput.setNumber(this,9,0,0);" type="text" 
		               class="input_css required maxlength:100" onchange="count();" value="<x:out select="$xmlData/data/proposal/nongyekeji/dongzhiwu2" />"style="text-align: right;" /></td>
		               
	        <td><input name="proposal/nongyekeji/dongzhiwu3" onfocus="InitInput.setNumber(this,9,4,2);" type="text" 
		               class="input_css maxlength:100 gray" disabled="disabled" value="<x:out select="$xmlData/data/proposal/nongyekeji/dongzhiwu3" />"style="text-align: right;" /></td>
	    </tr>
	    <tr>
	        <td>当年授权发明专利数</td>
	        <td><input name="proposal/nongyekeji/shouquanfaming1" label="科技产出-->当年授权发明专利数-->${year-2 }年" onfocus="InitInput.setNumber(this,9,0,0);" type="text" 
		               class="input_css required maxlength:100" onchange="count();" value="<x:out select="$xmlData/data/proposal/nongyekeji/shouquanfaming1" />"style="text-align: right;" /></td>
		               
	        <td><input name="proposal/nongyekeji/shouquanfaming2" label="科技产出-->当年授权发明专利数-->${year-1 }年" onfocus="InitInput.setNumber(this,9,0,0);" type="text" 
		               class="input_css required maxlength:100" onchange="count();" value="<x:out select="$xmlData/data/proposal/nongyekeji/shouquanfaming2" />"style="text-align: right;" /></td>
		               
	        <td><input name="proposal/nongyekeji/shouquanfaming3" onfocus="InitInput.setNumber(this,9,4,2);" type="text" 
		               class="input_css maxlength:100 gray" disabled="disabled" value="<x:out select="$xmlData/data/proposal/nongyekeji/shouquanfaming3" />"style="text-align: right;" /></td>
	    </tr>
	    <tr>
	        <td>“三品一标”总数</td>
	        <td><input name="proposal/nongyekeji/sanpingyibiao_sum1" label="科技产出-->“三品一标”总数-->${year-2 }年" onfocus="InitInput.setNumber(this,9,0,0);" type="text" 
		               class="input_css required maxlength:100" onchange="count();" value="<x:out select="$xmlData/data/proposal/nongyekeji/sanpingyibiao_sum1" />"style="text-align: right;" /></td>
		               
	        <td><input name="proposal/nongyekeji/sanpingyibiao_sum2" label="科技产出-->“三品一标”总数-->${year-1 }年" onfocus="InitInput.setNumber(this,9,0,0);" type="text" 
		               class="input_css required maxlength:100" onchange="count();" value="<x:out select="$xmlData/data/proposal/nongyekeji/sanpingyibiao_sum2" />"style="text-align: right;" /></td>
		               
	        <td><input name="proposal/nongyekeji/sanpingyibiao_sum3" onfocus="InitInput.setNumber(this,9,4,2);" type="text" 
		               class="input_css maxlength:100 gray" disabled="disabled" value="<x:out select="$xmlData/data/proposal/nongyekeji/sanpingyibiao_sum3" />"style="text-align: right;" /></td>
	    </tr>
	    
	    <tr>
	        <td rowspan="3">引进推广科技成果</td>
	        <td>引进推广新品种（个）</td>
	        <td><input name="proposal/nongyekeji/yingjintuiguang_num1" label="引进推广科技成果-->引进推广新品种（个）-->${year-2 }年" onfocus="InitInput.setNumber(this,9,0,0);" type="text" 
		               class="input_css required maxlength:100" onchange="count();" value="<x:out select="$xmlData/data/proposal/nongyekeji/yingjintuiguang_num1" />"style="text-align: right;" /></td>
		               
	        <td><input name="proposal/nongyekeji/yingjintuiguang_num2" label="引进推广科技成果-->引进推广新品种（个）-->${year-1 }年" onfocus="InitInput.setNumber(this,9,0,0);" type="text" 
		               class="input_css required maxlength:100" onchange="count();" value="<x:out select="$xmlData/data/proposal/nongyekeji/yingjintuiguang_num2" />"style="text-align: right;" /></td>
		               
	        <td><input name="proposal/nongyekeji/yingjintuiguang_num3" onfocus="InitInput.setNumber(this,9,4,2);" type="text" 
		               class="input_css maxlength:100 gray" disabled="disabled" value="<x:out select="$xmlData/data/proposal/nongyekeji/yingjintuiguang_num3" />"style="text-align: right;" /></td>
	    </tr>
	    <tr>
	        <td>引进推广新技术（项）</td>
	        <td><input name="proposal/nongyekeji/yjtgxjs1" label="引进推广科技成果-->引进推广新技术（项）-->${year-2 }年" onfocus="InitInput.setNumber(this,9,0,0);" type="text" 
		               class="input_css required maxlength:100" onchange="count();" value="<x:out select="$xmlData/data/proposal/nongyekeji/yjtgxjs1" />"style="text-align: right;" /></td>
		               
	        <td><input name="proposal/nongyekeji/yjtgxjs2" label="引进推广科技成果-->引进推广新技术（项）-->${year-1 }年" onfocus="InitInput.setNumber(this,9,0,0);" type="text" 
		               class="input_css required maxlength:100" onchange="count();"  value="<x:out select="$xmlData/data/proposal/nongyekeji/yjtgxjs2" />"style="text-align: right;" /></td>
		               
	        <td><input name="proposal/nongyekeji/yjtgxjs3" onfocus="InitInput.setNumber(this,9,4,2);" type="text" 
		               class="input_css maxlength:100 gray" disabled="disabled" value="<x:out select="$xmlData/data/proposal/nongyekeji/yjtgxjs3" />"style="text-align: right;" /></td>
	    </tr>
	    <tr>
	        <td>引进推广新设施（套）</td>
	        <td><input name="proposal/nongyekeji/yjtgxss_num1" label="引进推广科技成果-->引进推广新设施（套）-->${year-2 }年" onfocus="InitInput.setNumber(this,9,0,0);" type="text" 
		               class="input_css required maxlength:100" onchange="count();" value="<x:out select="$xmlData/data/proposal/nongyekeji/yjtgxss_num1" />"style="text-align: right;" /></td>
		               
	        <td><input name="proposal/nongyekeji/yjtgxss_num2" label="引进推广科技成果-->引进推广新设施（套）-->${year-1 }年" onfocus="InitInput.setNumber(this,9,0,0);" type="text" 
		               class="input_css required maxlength:100" onchange="count();" value="<x:out select="$xmlData/data/proposal/nongyekeji/yjtgxss_num2" />"style="text-align: right;" /></td>
		               
	        <td><input name="proposal/nongyekeji/yjtgxss_num3" onfocus="InitInput.setNumber(this,9,4,2);" type="text"  
		               class="input_css maxlength:100 gray" disabled="disabled" value="<x:out select="$xmlData/data/proposal/nongyekeji/yjtgxss_num3" />"style="text-align: right;" /></td>
	    </tr>
	    
	    <tr>
	        <td rowspan="6">经济社会效益（万元）</td>
	        <td>核心区总产值</td>
	        <td><input name="proposal/nongyekeji/jingjishehui1" label="经济社会效益（万元）-->核心区总产值-->${year-2 }年" onfocus="InitInput.setNumber(this,9,2,2);" type="text"  
		               class="input_css required maxlength:100" onchange="count();" value="<x:out select="$xmlData/data/proposal/nongyekeji/jingjishehui1" />"style="text-align: right;" /></td>
		               
	        <td><input name="proposal/nongyekeji/jingjishehui2" label="经济社会效益（万元）-->核心区总产值-->${year-1 }年" onfocus="InitInput.setNumber(this,9,2,2);" type="text" 
		               class="input_css required maxlength:100" onchange="count();" value="<x:out select="$xmlData/data/proposal/nongyekeji/jingjishehui2" />"style="text-align: right;" /></td>
		               
	        <td><input name="proposal/nongyekeji/jingjishehui3" onfocus="InitInput.setNumber(this,9,4,2);" type="text" 
		               class="input_css maxlength:100 gray" disabled="disabled" value="<x:out select="$xmlData/data/proposal/nongyekeji/jingjishehui3" />"style="text-align: right;" /></td>
	    </tr>
	    <tr>
	        <td>其中：一产产值</td>
	        <td><input name="proposal/nongyekeji/yichan_num1" label="经济社会效益（万元）-->其中：一产产值-->${year-2 }年" onfocus="InitInput.setNumber(this,9,2,2);" type="text" 
		               class="input_css required maxlength:100" onchange="count();" value="<x:out select="$xmlData/data/proposal/nongyekeji/yichan_num1" />"style="text-align: right;" /></td>
		               
	        <td><input name="proposal/nongyekeji/yichan_num2" label="经济社会效益（万元）-->其中：一产产值-->${year-1 }年" onfocus="InitInput.setNumber(this,9,2,2);" type="text" 
		               class="input_css required maxlength:100" onchange="count();" value="<x:out select="$xmlData/data/proposal/nongyekeji/yichan_num2" />"style="text-align: right;" /></td>
		               
	        <td><input name="proposal/nongyekeji/yichan_num3" onfocus="InitInput.setNumber(this,9,2,2);" type="text" 
		               class="input_css maxlength:100 gray" disabled="disabled" onchange="count();" value="<x:out select="$xmlData/data/proposal/nongyekeji/yichan_num3" />"style="text-align: right;" /></td>
	    </tr>
	    <tr>
	        <td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;二产产值</td>
	        <td><input name="proposal/nongyekeji/erchan_num1" label="经济社会效益（万元）-->二产产值-->${year-2 }年" onfocus="InitInput.setNumber(this,9,2,2);" type="text" 
		               class="input_css required maxlength:100" onchange="count();" value="<x:out select="$xmlData/data/proposal/nongyekeji/erchan_num1" />"style="text-align: right;" /></td>
		               
	        <td><input name="proposal/nongyekeji/erchan_num2" label="经济社会效益（万元）-->二产产值-->${year-1 }年" onfocus="InitInput.setNumber(this,9,2,2);" type="text" 
		               class="input_css required maxlength:100" onchange="count();" value="<x:out select="$xmlData/data/proposal/nongyekeji/erchan_num2" />"style="text-align: right;" /></td>
		               
	        <td><input name="proposal/nongyekeji/erchan_num3" onfocus="InitInput.setNumber(this,9,2,2);" type="text" 
		               class="input_css maxlength:100 gray" disabled="disabled" value="<x:out select="$xmlData/data/proposal/nongyekeji/erchan_num3" />"style="text-align: right;" /></td>
	    </tr><tr>
	        <td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;三产产值</td>
	        <td><input name="proposal/nongyekeji/sanchan_num1" label="经济社会效益（万元）-->三产产值-->${year-2 }年" onfocus="InitInput.setNumber(this,9,2,2);" type="text" 
		               class="input_css required maxlength:100" onchange="count();" value="<x:out select="$xmlData/data/proposal/nongyekeji/sanchan_num1" />"style="text-align: right;" /></td>
		               
	        <td><input name="proposal/nongyekeji/sanchan_num2"  label="经济社会效益（万元）-->三产产值-->${year-1 }年" onfocus="InitInput.setNumber(this,9,2,2);" type="text" 
		               class="input_css required maxlength:100" onchange="count();" value="<x:out select="$xmlData/data/proposal/nongyekeji/sanchan_num2" />"style="text-align: right;" /></td>
		               
	        <td><input name="proposal/nongyekeji/sanchan_num3" onfocus="InitInput.setNumber(this,9,2,2);" type="text" 
		               class="input_css maxlength:100 gray" disabled="disabled" value="<x:out select="$xmlData/data/proposal/nongyekeji/sanchan_num3" />"style="text-align: right;" /></td>
	    </tr>
	    <tr>
	        <td>一二三产业比例</td>
	        <td><input name="proposal/nongyekeji/yiersan1" type="text" class="input_css maxlength:100" 
	                   label="经济社会效益（万元）-->一二三产业比例-->${year-2 }年" value="<x:out select="$xmlData/data/proposal/nongyekeji/yiersan1" />"style="text-align: right;" /></td>
		               
	        <td><input name="proposal/nongyekeji/yiersan2" type="text" class="input_css maxlength:100" 
	         		   label="经济社会效益（万元）-->一二三产业比例-->${year-1 }年" value="<x:out select="$xmlData/data/proposal/nongyekeji/yiersan2" />"style="text-align: right;" /></td>
		               
	        <td>
	        	<%-- <input name="proposal/nongyekeji/yiersan3" onfocus="InitInput.setNumber(this,9,4,2);" type="text" 
		               class="input_css maxlength:100 gray" disabled="disabled" value="<x:out select="$xmlData/data/proposal/nongyekeji/yiersan3" />"style="text-align: right;" /> --%>
	        </td>
	    </tr>
	    <tr>
	        <td>吸纳就业人员数</td>
	        <td><input name="proposal/nongyekeji/xinajiuyeren_num1" label="经济社会效益（万元）-->吸纳就业人员数-->${year-2 }年" onfocus="InitInput.setNumber(this,9,0,0);" type="text" 
		               class="input_css required maxlength:100" onchange="count();" value="<x:out select="$xmlData/data/proposal/nongyekeji/xinajiuyeren_num1" />"style="text-align: right;" /></td>
		               
	        <td><input name="proposal/nongyekeji/xinajiuyeren_num2" label="经济社会效益（万元）-->吸纳就业人员数-->${year-1 }年" onfocus="InitInput.setNumber(this,9,0,0);" type="text" 
		               class="input_css required maxlength:100" onchange="count();" value="<x:out select="$xmlData/data/proposal/nongyekeji/xinajiuyeren_num2" />"style="text-align: right;" /></td>
		               
	        <td><input name="proposal/nongyekeji/xinajiuyeren_num3" onfocus="InitInput.setNumber(this,9,4,2);" type="text" 
		               class="input_css maxlength:100 gray" disabled="disabled" value="<x:out select="$xmlData/data/proposal/nongyekeji/xinajiuyeren_num3" />"style="text-align: right;" /></td>
	    </tr> 
	    
	    <tr>
	        <td rowspan="3">农民人均增收（元）</td>
	        <td>核心区农民人均收入</td>
	        <td><input name="proposal/nongyekeji/nongmingshouru_num1" label="农民人均增收（元）-->核心区农民人均收入-->${year-2 }年" onfocus="InitInput.setNumber(this,9,2,2);" type="text" 
		               class="input_css required maxlength:100" onchange="count();" value="<x:out select="$xmlData/data/proposal/nongyekeji/nongmingshouru_num1" />"style="text-align: right;" /></td>
		               
	        <td><input name="proposal/nongyekeji/nongmingshouru_num2" label="农民人均增收（元）-->核心区农民人均收入-->${year-1 }年" onfocus="InitInput.setNumber(this,9,2,2);" type="text" 
		               class="input_css required maxlength:100" onchange="count();" value="<x:out select="$xmlData/data/proposal/nongyekeji/nongmingshouru_num2" />"style="text-align: right;" /></td>
		               
	        <td><input name="proposal/nongyekeji/nongmingshouru_num3"  onfocus="InitInput.setNumber(this,9,2,2);" type="text" 
		               class="input_css maxlength:100 gray" disabled="disabled" value="<x:out select="$xmlData/data/proposal/nongyekeji/nongmingshouru_num3" />"style="text-align: right;" /></td>
	    </tr>
	    <tr>
	        <td>当地农民人均收入</td>
	        <td><input name="proposal/nongyekeji/dangdishouru_num1" label="农民人均增收（元）-->当地农民人均收入-->${year-2 }年" onfocus="InitInput.setNumber(this,9,2,2);" type="text" 
		               class="input_css required maxlength:100" onchange="count();" value="<x:out select="$xmlData/data/proposal/nongyekeji/dangdishouru_num1" />"style="text-align: right;" /></td>
		               
	        <td><input name="proposal/nongyekeji/dangdishouru_num2" label="农民人均增收（元）-->当地农民人均收入-->${year-1 }年" onfocus="InitInput.setNumber(this,9,2,2);" type="text" 
		               class="input_css required maxlength:100" onchange="count();" value="<x:out select="$xmlData/data/proposal/nongyekeji/dangdishouru_num2" />"style="text-align: right;" /></td>
		               
	        <td><input name="proposal/nongyekeji/dangdishouru_num3" onfocus="InitInput.setNumber(this,9,2,2);" type="text" 
		               class="input_css maxlength:100 gray" disabled="disabled" value="<x:out select="$xmlData/data/proposal/nongyekeji/dangdishouru_num3" />"style="text-align: right;" /></td>
	    </tr>
	    <tr>
	        <td>核心区农民人均收入&nbsp;/<br/>当地农民人均收入</td>
	        <td><input name="proposal/nongyekeji/shourubi_num1"  onfocus="InitInput.setNumber(this,9,2,2);" type="text" 
		               class="input_css maxlength:100 gray" disabled="disabled" onchange="count();" value="<x:out select="$xmlData/data/proposal/nongyekeji/shourubi_num1" />"style="text-align: right;" /></td>
		               
	        <td><input name="proposal/nongyekeji/shourubi_num2"  onfocus="InitInput.setNumber(this,9,2,2);" type="text" 
		               class="input_css maxlength:100 gray" disabled="disabled" onchange="count();" value="<x:out select="$xmlData/data/proposal/nongyekeji/shourubi_num2" />"style="text-align: right;" /></td>
		               
	        <td><input name="proposal/nongyekeji/shourubi_num3" onfocus="InitInput.setNumber(this,9,2,2);" type="text" 
		               class="input_css maxlength:100 gray" disabled="disabled" value="<x:out select="$xmlData/data/proposal/nongyekeji/shourubi_num3" />"style="text-align: right;" /></td>
	    </tr>
	    
	    <tr>
	        <td>土地产出率（万元/亩）</td>
	        <td>指单位土地上的平均年产值</td>
	        <td><input name="proposal/nongyekeji/nianjunchanzhi_num1" label="土地产出率（万元/亩）-->指单位土地上的平均年产值-->${year-2 }年" onfocus="InitInput.setNumber(this,9,2,2);" type="text" 
		               class="input_css required maxlength:100" onchange="count();" value="<x:out select="$xmlData/data/proposal/nongyekeji/nianjunchanzhi_num1" />"style="text-align: right;" /></td>
		               
	        <td><input name="proposal/nongyekeji/nianjunchanzhi_num2" label="土地产出率（万元/亩）-->指单位土地上的平均年产值-->${year-1 }年" onfocus="InitInput.setNumber(this,9,2,2);" type="text" 
		               class="input_css required maxlength:100" onchange="count();" value="<x:out select="$xmlData/data/proposal/nongyekeji/nianjunchanzhi_num2" />"style="text-align: right;" /></td>
		               
	        <td><input name="proposal/nongyekeji/nianjunchanzhi_num3" onfocus="InitInput.setNumber(this,9,4,2);" type="text" 
		               class="input_css maxlength:100 gray" disabled="disabled" value="<x:out select="$xmlData/data/proposal/nongyekeji/nianjunchanzhi_num3" />"style="text-align: right;" /></td>
	    </tr>
	    
	    <tr>
	        <td>劳动生产率（万元/人劳力）</td>
	        <td>指单位劳动力的农业产值增加值</td>
	        <td><input name="proposal/nongyekeji/danweilaodongli1" label="劳动生产率-->指单位劳动力的农业产值增加值-->${year-2 }年" onfocus="InitInput.setNumber(this,9,0,0);" type="text" 
		               class="input_css required maxlength:100" onchange="count();" value="<x:out select="$xmlData/data/proposal/nongyekeji/danweilaodongli1" />"style="text-align: right;" /></td>
		               
	        <td><input name="proposal/nongyekeji/danweilaodongli2" label="劳动生产率-->指单位劳动力的农业产值增加值-->${year-1 }年" onfocus="InitInput.setNumber(this,9,0,0);" type="text" 
		               class="input_css required maxlength:100" onchange="count();" value="<x:out select="$xmlData/data/proposal/nongyekeji/danweilaodongli2" />"style="text-align: right;" /></td>
		               
	        <td><input name="proposal/nongyekeji/danweilaodongli3" onfocus="InitInput.setNumber(this,9,4,2);" type="text" 
		               class="input_css maxlength:100 gray" disabled="disabled" value="<x:out select="$xmlData/data/proposal/nongyekeji/danweilaodongli3" />"style="text-align: right;" /></td>
	    </tr> 
	    
	    <tr>
	        <td rowspan="2">园区建设水平</td>
	        <td>高标准农田占核心区面积比（%）</td>
	        <td><input name="proposal/nongyekeji/hexinmianjibi1" label="园区建设水平-->高标准农田占核心区面积比-->${year-2 }年" onfocus="InitInput.setNumber(this,9,2,2);" type="text" 
		               class="input_css required maxlength:100" onchange="count();" value="<x:out select="$xmlData/data/proposal/nongyekeji/hexinmianjibi1" />"style="text-align: right;" /></td>
		               
	        <td><input name="proposal/nongyekeji/hexinmianjibi2" label="园区建设水平-->高标准农田占核心区面积比-->${year-1 }年" onfocus="InitInput.setNumber(this,9,2,2);" type="text" 
		               class="input_css required maxlength:100" onchange="count();" value="<x:out select="$xmlData/data/proposal/nongyekeji/hexinmianjibi2" />"style="text-align: right;" /></td>
		               
	        <td><input name="proposal/nongyekeji/hexinmianjibi3" onfocus="InitInput.setNumber(this,9,2,2);" type="text" 
		               class="input_css maxlength:100 gray" disabled="disabled" value="<x:out select="$xmlData/data/proposal/nongyekeji/hexinmianjibi3" />"style="text-align: right;" /></td>
	    </tr>
	    <tr>
	        <td>土地流转占核心区面积比（%）</td>
	        <td><input name="proposal/nongyekeji/tudiliuzhuan1" label="园区建设水平-->土地流转占核心区面积比（%）-->${year-2 }年" onfocus="InitInput.setNumber(this,9,2,2);" type="text" 
		               class="input_css required maxlength:100" onchange="count();" value="<x:out select="$xmlData/data/proposal/nongyekeji/tudiliuzhuan1" />"style="text-align: right;" /></td>
		               
	        <td><input name="proposal/nongyekeji/tudiliuzhuan2" label="园区建设水平-->土地流转占核心区面积比（%）-->${year-1 }年" onfocus="InitInput.setNumber(this,9,2,2);" type="text" 
		               class="input_css required maxlength:100" onchange="count();" value="<x:out select="$xmlData/data/proposal/nongyekeji/tudiliuzhuan2" />"style="text-align: right;" /></td>
		               
	        <td><input name="proposal/nongyekeji/tudiliuzhuan3" onfocus="InitInput.setNumber(this,9,2,2);" type="text" 
		               class="input_css maxlength:100 gray" disabled="disabled" value="<x:out select="$xmlData/data/proposal/nongyekeji/tudiliuzhuan3" />"style="text-align: right;" /></td>
	    </tr>
	</tbody>
	
</table>
<br />
<div><strong>备注：</strong><br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;除特别说明外，表内指标内容均指核心区数据。</div>
<br />
<script type="text/javascript">
$(function(){
	 count();
	 $("#table_1").find("tr:even").addClass("li_1");
	 $("#table_1").find("tr:odd").addClass("li_2");
});

 function count() {
	$("#eq_table1 tr:gt(0)").each(function(i){
		if(i!=22){
			var tdnum=$(this).find("td").length;
			if(tdnum==5){
				var val_before=$(this).find("td:eq(2) input").val();
				var val_after=$(this).find("td:eq(3) input").val();
				if(!!val_before && !!val_after){
					if(val_before==0 && val_after!=0){
						$(this).find("td:eq(4) input").val("100.00");
					}else if(val_before!=0 && val_after==0){
						$(this).find("td:eq(4) input").val("-100.00");
					}else if(val_before==0 && val_after==0){
						$(this).find("td:eq(4) input").val("0.00");
					}else{
						$(this).find("td:eq(4) input").val(formatVal(((val_after-val_before)/val_before)*100));
					}
				}else{
					$(this).find("td:eq(4) input").val("");
				}
			}else{
				var val_before=$(this).find("td:eq(1) input").val();
				var val_after=$(this).find("td:eq(2) input").val();
				if(!!val_before && !!val_after){
					if(val_before==0 && val_after!=0){
						$(this).find("td:eq(3) input").val("100.00");
					}else if(val_before!=0 && val_after==0){
						$(this).find("td:eq(3) input").val("-100.00");
					}else if(val_before==0 && val_after==0){
						$(this).find("td:eq(3) input").val("0.00");
					}else{
						$(this).find("td:eq(3) input").val(formatVal(((val_after-val_before)/val_before)*100));
					}
				}else{
					$(this).find("td:eq(3) input").val("");
				}
			}
		}
	});
	countB3();
	countB4();
}
 function countB3(){
		var num1_before=($("#eq_table1 tr:eq(25) td:eq(2) input").val());
		var num2_before=($("#eq_table1 tr:eq(26) td:eq(1) input").val());
		if(!!num1_before&&num1_before!=0 && !!num2_before&&num2_before!=0){
			$("#eq_table1 tr:eq(27) td:eq(1) input").val(formatVal1(num1_before/num2_before));
		}else{
			$("#eq_table1 tr:eq(27) td:eq(1) input").val("");
		}
}
function countB4(){
		var num1_before=formatVal(($("#eq_table1 tr:eq(25) td:eq(3) input").val())*100);
		var num2_before=formatVal(($("#eq_table1 tr:eq(26) td:eq(2) input").val())*100);
		if(!!num1_before&&num1_before!=0 && !!num2_before&&num2_before!=0){
			$("#eq_table1 tr:eq(27) td:eq(2) input").val(formatVal1(num1_before/num2_before));
		}
		else{
			$("#eq_table1 tr:eq(27) td:eq(2) input").val("");
		}
		
}
 
/*  function countBl(){
		var num1_before=formatVal(($("#eq_table1 tr:eq(20) td:eq(1) input").val())*100);
		var num2_before=formatVal(($("#eq_table1 tr:eq(21) td:eq(1) input").val())*100);
		var num3_before=formatVal(($("#eq_table1 tr:eq(22) td:eq(1) input").val())*100);
		
		if(!!num1_before&&num1_before!=0 && !!num2_before&&num2_before!=0 && !!num3_before&&num3_before!=0){
			var min=num1_before<num2_before?(num1_before<num3_before?num1_before:num3_before):(num1_before<num3_before?num1_before:num3_before);	
			
			var i =min;
			while(i>2){
				if(num1_before%i==0 && num2_before%i==0 && num3_before%i==0){
					num1_before=num1_before/i;
					num2_before=num2_before/i;
					num3_before=num3_before/i;	
					break;
				}
				i=i-1;;
			}
			var num_before=num1_before+":"+num2_before+":"+num3_before;
			$("#eq_table1 tr:eq(23) td:eq(1) input").val(num_before); 		}		
 }
    var num1_before=formatVal(($("#eq_table1 tr:eq(20) td:eq(2) input").val())*100);
	var num2_before=formatVal(($("#eq_table1 tr:eq(21) td:eq(2) input").val())*100);
	var num3_before=formatVal(($("#eq_table1 tr:eq(22) td:eq(2) input").val())*100);
	
function count() {
	var num1_before=formatVal(($("#eq_table1 tr:eq(20) td:eq(2) input").val())*100);
	var num2_before=formatVal(($("#eq_table1 tr:eq(21) td:eq(2) input").val())*100);
	var num3_before=formatVal(($("#eq_table1 tr:eq(22) td:eq(2) input").val())*100);
	var nums=new Array[3];
	var num_ts=new Array[3];
	var i=3;
	var j=3;
	var flag=0;
	nums[0]=num1_before;
	nums[1]=num2_before;
	nums[2]=num3_before;
	for ( var int = 0; int < nums.length; int++) {
		if(i==3&&(nums[int]==0||!!!nums[int])){
			i=int;
			flag=flag+1;
		}
		if(i!=3&&(nums[int]==0||!!!nums[int])){
			j=int;
			flag=flag+1;
		}
	}
	
	if(flag==0){
		
	}
	if(flag==1){
		
	}else{
		
	}
	
}	
 function countB2(num1_before,num2_before,num3_before){
			var num1_before=formatVal(($("#eq_table1 tr:eq(20) td:eq(2) input").val())*100);
			var num2_before=formatVal(($("#eq_table1 tr:eq(21) td:eq(2) input").val())*100);
			var num3_before=formatVal(($("#eq_table1 tr:eq(22) td:eq(2) input").val())*100);
		if(!!num1_before&&num1_before!=0 && !!num2_before&&num2_before!=0 && !!num3_before&&num3_before!=0){
				var min=num1_before<num2_before?(num1_before<num3_before?num1_before:num3_before):(num1_before<num3_before?num1_before:num3_before);	
				
				var i =min;
				while(i>2){
					if(num1_before%i==0 && num2_before%i==0 && num3_before%i==0){
						num1_before=num1_before/i;
						num2_before=num2_before/i;
						num3_before=num3_before/i;	
						break;
					}
					i=i-1;;
				}
				var num_before=num1_before+":"+num2_before+":"+num3_before;
				$("#eq_table1 tr:eq(23) td:eq(2) input").val(num_before); 	
		}
		
		
} */

//格式化金额
 function formatVal(count) {
		if (!$.isNumeric(count))
		count = "0";
		count = ((parseFloat(count) * 10000) / 10000).toFixed(4);
		count = formatNumberAuto(count.toString(), 9,2, 2);
		return count;
	} 
  function formatVal1(count) {
		if (!$.isNumeric(count))
		count = "0";
		count = ((parseFloat(count) * 10000) / 10000).toFixed(4);
		count = formatNumberAuto(count.toString(), 9, 2, 2);
		return count;
	}
 function initTreeValueExt(treeId, treeNode) {
	 	if ((treeNode && treeNode.isParent)) {
	 		scmWarn("请选择具体的" + $("#" + treeId).attr("label"));
	 		$("#" + treeId).val("");
	 		$("#" + treeId).parents("td").find("[name$='" + treeId + "_code'],[id$='" + treeId + "_code']").val("");
	 		$("#" + treeId).parents("td").find("[name$='" + treeId + "_value'],[id$='" + treeId	+ "_value']").val("");
	 		$("#" + treeId).parents("td").find("[name$='" + treeId + "_name'],[id$='" + treeId + "_name']").val("");
	 		return false;
	 	}
	 	var str = treeNode.name;
	 	var obj = treeNode.parentNode;
	 	while (obj != null) {
	 		str = obj.name + "-" + str;
	 		obj = obj.parentNode;
	 	}
	 	
	 	$("#" + treeId).parents("td").find("[name$='" + treeId + "_code'],[id$='" + treeId + "_code']").val(treeNode.id);
	 	$("#" + treeId).parents("td").find("[name$='" + treeId + "_value'],[id$='" + treeId + "_value']").val(treeNode.id);
	 	$("#" + treeId).parents("td").find("[name$='" + treeId + "_name'],[id$='" + treeId + "_name']").val(str);
	 }
</script>
